<?php 
	abstract class AbstractStatementParser{
		
		protected $transactions;
		protected $bankAcctDetails;
		protected $statementBalance;
		protected $availableBalance;
		
		public function getTransactions(){
			return $this->transactions;
		}
		
		public function getBankAcctDetails(){
			return $this->bankAcctDetails;
		}
		
		public function getStatementBalance(){
			return $this->statementBalance;
		}
		
		public function getAvailableBalance(){
			return $this->availableBalance;
		}
		
		public function loadFromFile($fileName)
		{
			if(file_exists($fileName))
				$this->loadFromString(file_get_contents($fileName));
			else
				return false;
		}
		
		public abstract function loadFromString($fileContents);
	}
?>